package com.wish.group05.base.mapper;

import com.wish.group05.base.dto.ViewDetailsRequestDto;
import com.wish.group05.base.dto.ZJFInformation;
import com.wish.group05.base.entity.FkBusinessCredit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 风控公寓授信主表 Mapper 接口
 * </p>
 *
 * @author houzehui
 * @since 2022-05-23
 */
public interface FkBusinessCreditMapper extends BaseMapper<FkBusinessCredit> {

    FkBusinessCredit queryObjectBusinessId(Long businessId);

    ZJFInformation findByBusinessAndProductId(ViewDetailsRequestDto viewDetailsRequestDto);

    void updateFkBusinessCreditSub(ZJFInformation findById);

}
